<?php echo $form->messages('changeSuccess'); ?>
<?php echo $form->messages('csrf'); ?>
<?php echo $this->tag->form(array()); ?>
<div class="form-group">
    <?php echo $form->render('email', array('class' => 'form-control')); ?>
    <?php echo $form->messages('email'); ?>
</div>
<div class="form-group">
    <?php echo $form->render('name', array('class' => 'form-control', 'minlength' => '6', 'maxlength' => '50')); ?>
    <?php echo $form->messages('name'); ?>
</div>
<div class="form-group">
    <?php echo $form->render('submit', array('value' => 'Save')); ?>
</div>
<?php echo $form->render('csrf'); ?>
<?php echo $this->tag->endform(); ?>